Xbasic

RECORD_DELETE Function

Syntax

Delete_Count as N = record_delete(C tablename ,C filter )

Arguments

Delete_Count

Count of records deleted.

tablename

The name of a table. The extension ".dbf" is assumed.

filter

A character filter expression that evaluates to a logical value and selects records from the table.

Description

Deletes one or more record(s) in a table that match the filter condition

Discussion

RECORD_DELETE() deletes one or more records in a table that match a Record_Filter.

Example

? record_delete("salespeople", "lastname > 'M'")
= 2

See Also